//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.atjg.autocat.uvccamera.config;


import com.atjg.autocat.uvccamera.bean.PicturePath;
import com.atjg.autocat.uvccamera.utils.LogUtil;

public class CameraConfig {
    private PicturePath mPicturePath;
    private String mDirName;
    private int mVendorId;
    private int mProductId;

    public CameraConfig() {
        this.mPicturePath = PicturePath.APPCACHE;
        this.mDirName = "uvccamera";
        this.mVendorId = 0;
        this.mProductId = 0;
    }

    public CameraConfig isDebug(boolean debug) {
        LogUtil.allowD = debug;
        LogUtil.allowE = debug;
        LogUtil.allowI = debug;
        LogUtil.allowV = debug;
        LogUtil.allowW = debug;
        LogUtil.allowWtf = debug;
        return this;
    }

    public PicturePath getPicturePath() {
        return this.mPicturePath;
    }

    public CameraConfig setPicturePath(PicturePath mPicturePath) {
        this.mPicturePath = mPicturePath;
        return this;
    }

    public String getDirName() {
        return this.mDirName;
    }

    public CameraConfig setDirName(String mDirName) {
        this.mDirName = mDirName;
        return this;
    }

    public int getVendorId() {
        return this.mVendorId;
    }

    public CameraConfig setVendorId(int mVendorId) {
        this.mVendorId = mVendorId;
        return this;
    }

    public int getProductId() {
        return this.mProductId;
    }

    public CameraConfig setProductId(int mProductId) {
        this.mProductId = mProductId;
        return this;
    }

    public String toString() {
        return "CameraConfig{mPicturePath=" + this.mPicturePath + ", mDirName='" + this.mDirName + '\'' + ", mVendorId=" + this.mVendorId + ", mProductId=" + this.mProductId + '}';
    }
}
